/*
 * Copyright 2017 JessYan
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.kmproject.haifu.mvp.model.api;

/**
 * ================================================
 * 存放一些与 API 有关的东西,如请求地址,请求码等
 * <p>
 * Created by JessYan on 08/05/2016 11:25
 * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
 * <a href="https://github.com/JessYanCoding">Follow me</a>
 * ================================================
 */
public interface Api {
    String url_h5_check = "https://devtest.haifu365.com/nc/android.html";//h5投篮验证
    //租房详情：
    String SHARE_RENT_URL="https://h5.devtest.haifu365.com/#/home/house/rent/detail?id=";
    //求租详情
    String SHARE_QZ_URL="https://h5.devtest.haifu365.com/#/home/house/seeking/detail?id=";
   // 二手物品详情
   String SHARE_SENONDHNAD_URL="https://h5.devtest.haifu365.com/#/home/secondary/detail?id=";
    //新的测试服务器
    String APP_DOMAIN = "https://devtestapi.haifu365.com";
    String APP_DOMAIN_ZIDIAN = "https://devtestapi.haifu365.com";


    //廖总演示使用地址
//    String APP_DOMAIN = "http://demoapi.haifu365.com";
//    String APP_DOMAIN_ZIDIAN = "http://demoapi.haifu365.com";
//    String url_h5_check = "http://demoapi.haifu365.com/nc/android.html";//h5投篮验证
//    //租房详情：
//    String SHARE_RENT_URL="http://h5.demoapi.haifu365.com/#/home/house/rent/detail?id=";
//    //求租详情
//    String SHARE_QZ_URL="http://h5.demoapi.haifu365.com/#/home/house/seeking/detail?id=";
//    // 二手物品详情
//    String SHARE_SENONDHNAD_URL="http://h5.demoapi.haifu365.com/#/home/secondary/detail?id=";


    String WXAPPID = "wx434a41e6311ff7a3";
    String APP_img = "";
    String RequestSuccess = "0";
    //公司的
    String google_map_key = "AIzaSyCLZbTQd4VYHukMl_EzYNZPJSOWHWpE4hM";
//    String google_map_key="AIzaSyB6AhLJfl8fNgzuDC16PMU8HOmHk55hfWU";
//    String google_map_key="AIzaSyA8SLY5slgt9tTSULxBKZIayowsf-h13BI";//kevin.lee

    // Endpoint以杭州为例，其它Region请按实际情况填写。
    String endpoint = "oss-cn-shenzhen.aliyuncs.com";
    // 阿里云主账号AccessKey拥有所有API的访问权限，风险很高。强烈建议您创建并使用RAM账号进行API访问或日常运维，请登录 https://ram.console.aliyun.com 创建RAM账号。
    String accessKeyId = "LTAIkEvBEMHt3yHv";
    String accessKeySecret = "kLJjOfMPVFS9gPJazsfaJoz37YghyR";
    String bucketName = "haifu-test";
    String header_server_packer = "user";//用户
    String secondHand="secondHand";//二手物品放图片目录
    String houseRent_server_packer = "houseRent";//租房
    String houseSale_server_packer = "houseSale";//售放
    String houseSale_server_report = "report";//举报
    String houseSale_server_store = "store";//店铺存放图片路径
    //租房字典表、
//    描述                value           category
    String DAY_RENT = "DAY_RENT";//：付款方式
    String PAY_METHOD = "PAY_METHOD";// ：支付方式
    //
//    String PAY_METHOD="PAY_METHOD"; //    付款方式-整租发布  1
    //    付款方式-合租发布 2
    String CASH_PLEDGE = "CASH_PLEDGE";////    押金
    String HOUSE_RENT_DETAIL = "HOUSE_RENT_DETAIL_";//类型拼接
    String HOUSE_RENT_DETAIL_DZ = "HOUSE_RENT_DETAIL_DZ";//    短租-房屋配置 1(1:房屋配置 2：房屋亮点 3：出租要求)
    //    短租-房屋亮点    HOUSE_RENT_DETAIL_DZ  2
//    短租-出租要求    HOUSE_RENT_DETAIL_DZ  3
    String HOUSE_RENT_DETAIL_HZ = "HOUSE_RENT_DETAIL_HZ";//    合租-房屋配置 1
    String HOUSE_RENT_DETAIL_BS = "HOUSE_RENT_DETAIL_BS";//    别墅-房屋配置 1
    //    合租-房屋亮点    HOUSE_RENT_DETAIL_HZ  2
//    合租-出租要求    HOUSE_RENT_DETAIL_HZ  3
    String HOUSE_RENT_DETAIL_ZZ = "HOUSE_RENT_DETAIL_ZZ";//    整租-房屋配置 1
    //    整租-房屋亮点    HOUSE_RENT_DETAIL_ZZ  2
//    整租-出租要求    HOUSE_RENT_DETAIL_ZZ  3
    String LANDLORD_TYPE = "LANDLORD_TYPE";//    房东类型
    String RENT_TYPE = "RENT_TYPE";//    租房类型
    String RENT_ROOM = "RENT_ROOM";////    出租房间类型
    String HOUSE_TYPE = "HOUSE_TYPE";    //商铺的类型类型
    String ROOM_COUNT = "ROOM_COUNT";//    房间数量
    String DRAWING_COUNT = "DRAWING_COUNT";//    客厅数
    String TOILET_COUNT = "TOILET_COUNT";//    卫生间数
    //    收藏类型      COLLECTION_TYPE
//    评论类型      COMMENT_TYPE
//    浏览类型      VIEW_TYPE
    String REPORT_REASON = "REPORT_REASON";//    举报原因
    //    房屋名称，小区名称  HOUSE_NAME
    String HOUSE_AREA = "HOUSE_AREA";//    房屋区域
    String DECORATION_TYPE = "DECORATION_TYPE";  //    装修
    //    朝向        ORIENTATION
    String STORE_TYPE = "STORE_TYPE";//店铺类型
    String MONTH_RENT = "MONTH_RENT";//:租金区间
    //    RENT_TYPE：租房类型
    String DISTANCE = "DISTANCE";// ：附近距离,搜索条件附件
    String FLOOR = "FLOOR";//楼层
    String TOTAL_FLOOR = "TOTAL_FLOOR";//总楼层
    /*个人主页*/
    String MEMBER_LEVEL_USER_HOME_PAGE = "/app/memberLevel/userHomePage";
    /*浏览店铺信息*/
    String USER_STORE_VIEW_STORE_INFO = "/app/userStore/viewStoreInfo";
    /*我个人中心数量统计*/
    String MY_COMMON_PUBLISH_COUNT = "/app/myCommonPublishCount/";

    /*------求租----------*/
    //请求房屋要求基础字符串
    String HOUSE_RENT_SEEKING_DETAIL_ = "HOUSE_RENT_SEEKING_DETAIL_";
    //发布求租
    String HOUSE_RENT_SEEKING_ADD = "/app/houseRentSeeking/add";
    String SEEKING_TYPE = "SEEKING_TYPE";
    String SEEKING_CATEGORY = "SEEKING_CATEGORY";///app/houseRentSeeking/update/

    //请求求租详情
    String HOUSE_RENT_SEEKING_DETAIL = "/app/houseRentSeeking/query";
    //删除求租
    String HOUSE_RENT_SEEKING_DELETE = "/app/houseRentSeeking/del";
    //修改求租详情
    String HOUSE_RENT_SEEKING_UPDATE = "app/houseRentSeeking/update/";
    //根据店铺查询租房列表
    String LIST_HOUSE_RENT_STORE = "/app/listHouseRent/store/";
    //获取求租列表
    String HOUSE_RENT_SEEKING_LIST_QUERY = "/app/houseRentSeekingList/query";
    //获取指定用户的求租列表
    String HOUSE_RENT_SEEKING_BY_USER_QUERY = "/app/houseRentSeekingByUser/query";
    //收藏求租
    String ADD_HOUSE_RENT_SEEKING_COLLECTION = "/app/add/addHouseRentSeeking/";
    //取消收藏求租
    String CANCEL_HOUSE_RENT_SEEKING_COLLECTION = "/app/cancel/cancelHouseRentSeeking";
    //我的求租收藏
    String USER_COLLECTION_SEEKING_QUERY = "/app/userCollectionSeeking/query";

    String HOUSE_CATEGORY = "HOUSE_CATEGORY";//获取商业用地和居民住宅及下面的所属内容
    String FLOOR_TYPE = "FLOOR_TYPE";//楼层类型
    String FLOOR_CW = "FLOOR_CW";//车位楼层
    String CURRENT_STATUS = "CURRENT_STATUS"; //   商铺-当前状态    经营中 空置中 新商铺
    String ORIGINAL_BUSINESS = "ORIGINAL_BUSINESS";//商铺-原经营行业
    String LOWER_SHELF_REASON = "LOWER_SHELF_REASON";//获取下架店铺提示语
    String SECOND_HAND_LABEL="SECOND_HAND_LABEL";//获取发布二手房标签
    String SECOND_LOWER_SHELF_REASON = "SECOND_LOWER_SHELF_REASON";//获取下架二手物品提示语

    /*---------评论----------*/
    //添加评论
    String USER_COMMENT_ADD_COMMENT = "/app/userComment/addComment";
    //取消赞
    String USER_COMMENT_CANCEL_LIKE_COMMENT = "/app/userComment/cancelLikeComment/";
    //icon_un_like
    String USER_COMMENT_LIKE_COMMENT = "/app/userComment/likeComment/";
    //查询评论列表
    String USER_COMMENT_LIST_COMMENT = "/app/userComment/listComment";
    //删除评论
    String USER_COMMENT_REMOVE_COMMENT = "/app/userComment/removeComment/";

    /*------关注----------*/
    //添加关注
    String USER_ATTENTION_ADD = "/app/userAttention/add";
    //取消关注
    String USER_ATTENTION_CANCEL = "/app/userAttention/cancel";
    //查询当前用户所关注的店铺列表
    String USER_ATTENTION_LIST_ATTENTION_STORE_CURRENT_USER = "/app/userAttention/listAttentionStore/currentUser";
    //查询非当前用户所关注的店铺列表
    String USER_ATTENTION_LIST_ATTENTION_STORE_OTHER_USER = "/app/userAttention/listAttentionStore/otherUser";
    //查询当前用户所关注的用户列表
    String USER_ATTENTION_LIST_ATTENTION_USER_CURRENT_USER = "/app/userAttention/listAttentionUser/currentUser";
    //查询非当前用户所关注的用户列表
    String USER_ATTENTION_LIST_ATTENTION_USER_OTHER_USER = "/app/userAttention/listAttentionUser/otherUser";
    //查询关注当前用户或店铺的用户列表
    String USER_ATTENTION_LIST_USER_ATTENTION_CURRENT_USER_OR_STORE = "/app/userAttention/listUserAttention/currentUserOrStore";
    //查询关注非当前用户或店铺的用户列表
    String USER_ATTENTION_LIST_USER_ATTENTION_OTHER_USER_OR_OTHER_STORE = "/app/userAttention/listUserAttention/otherUserOrOtherStore";

    /*--------缴费----------*/
    /**
     * 电费服务商
     */
    String ELECTRICITY_TYPE = "ELECTRICITY_TYPE";
    /**
     *  水费服务商
     */
    String WATER_TYPE  = "WATER_TYPE";
    /**
     * 网费服务商
     */
    String NETWORK_TYPE  = "NETWORK_TYPE";

    /*------二手物品发布----------*/
    //选择分类树
    String SECONDHAND_PUBLISH_SELECT_TYPE="/app/secondHandCategory/list/tree";
    //查询经营中的二手店铺
    String SECONDHAND_PUBLISH_SELECT_STORE="/app/userStore/listStore/secondHand/currentUser";

    //发布二手物品
    String SECONDHAND_PUBLISH_PUBLISH_ADD="/app/secondHand/publishSecondHand";

    //查询二手物品详情
    String SECONDHAND_PUBLISH_PUBLISH_LOOK_ONE="/app/secondHand/viewSecondHand/";

    //编辑二手物品详情
    String SECONDHAND_PUBLISH_PUBLISH_EDIT_ONE="/app/secondHand/editSecondHand/";

    //是否可以发布二手物品和房源
    String SECONDHAND_PUBLISH_PUBLISH_ISPUBLISH="/app/memberLevel/verification/isPublishCount";

    //查询二手物品
    String SECONDHAND_LISTSECONDHAND="/app/secondHand/listSecondHand";

    //查询二手物品分类
    String SECONDHAND_LISTTREE="/app/secondHandCategory/list/tree";

    //查询当前用户的充值缴费记录
    String INVEST_MONEY_RECORD_LIST_CURRENT_USER="/app/investMoneyRecord/list/currentUser";

    //查询(搜索)我关注的人和店铺发布的二手物品
    String SECONDHAND_LIST_MYATTENTTION="/app/secondHand/listSecondHand/myAttention";


    //下架二手物品
    String SECONDHAND_LOWERSHELF="/app/secondHand/lowerShelfSecondHand";

    //添加二手物品收藏 /{secondHandId}
    String SECONDHAND_COLLECT="/app/add/secondHand/";

    //取消二手物品收藏 /{secondHandId}
//    {
//        "secondHandIds": []
//    }
    String SECONDHAND_CANCELCOLLECT="/app/cancel/secondHand";

    //删除二手物品 secondHandId
    String SECONDHAND_DEL="/app/secondHand/removeSecondHand";


 //查询导入店铺的列表
 String SECONDHAND_QUERY_IMPORT="/app/secondHand/importStoreSecondHandList";


 //批量导入店铺二手物品
 String SECONDHAND_IMPORT_TO_STORE="/app/secondHand/importStoreSecondHand/";

 //我的发布的二手物品
 String SECONDHAND_QUEY_MY_PUBLISH_SECONDHND="/app/secondHand/mySecondHandList";

 //我的收藏二手物品
 String SECONDHAND_QUEY_MY_DECONDHSND_COLLECT="/app/secondHand/myCollectionSecondHandList";


 //个人中心二手物品列表通过userid区分是个人的还是用户的 userId
 String SECONDHAND_QUEY_USERSECONDHAND="/app/secondHand/userSecondHand/";

 //求租通知
 String NOTICE_RENTSEEK="/app/rentSeekingNotice/list/currentUser";

}
